import fetch from '@/api'
// 获取列表
export function getStorehousePlanList(params) {
    return fetch({
        method: 'get',
        url: `/warehouseStackPlan`,
        params,
    })
}

//新增
export function addStorehousePlan(data) {  
    return fetch({
        method:'post',
        url:`/warehouseStackPlan`,
        data,
    })
}

// 编辑
export function updateStorehousePlan(id,data) {
    return fetch({
        method:'put',
        url:`/warehouseStackPlan/${id}`,
        data,
    })
}

// 删除
export function deleteStorehousePlan(id) {
    return fetch({
        method:'delete',
        url:`/warehouseStackPlan/${id}`,
    })
}
